export interface loginType{
    pass?:string|undefined,
    username?:string|undefined
    token?:string|undefined
    verifyCode?:string|undefined
}

export interface LoginData {
     menu: Array<LoginMenu>;
     token: string;
};

export interface LoginMenu {
     id: number;
     name: string;
     ico?: any;
     url?: any;
     pid: number;
     sort: number;
     checked: number;
     postion?: any;
     children?: any;
};



export interface loginCodeType{
   errCode:string
   imageCode:string
   token:string
}

export type Menu = {
    id: number,
    name: string,
    ico: string,
    url: string,
    pid: number,
    sort: number,
    checked: number,
    postion: string
}
export interface LoginReturnData {
    menu: Menu[];
    token: string;
}
